//
//  UIViewController+MSCommon.h
//  PeopleForTheFirstMall
//
//  Created by iOS on 2020/11/16.
//  Copyright © 2020 MS. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (MSCommon)

- (UIAlertController *)showAlert:(NSString *)title
                         message:(NSString *)message
                messageAlignment:(NSTextAlignment)alignment
                      leftAction:(nullable UIAlertAction *)leftAction
                     rightAction:(nonnull UIAlertAction *)rightAction;

- (UIAlertController *)showAlert:(NSString *)title
                         message:(NSString *)message
                messageAlignment:(NSTextAlignment)alignment
                          action:(UIAlertAction *)action;

@end

NS_ASSUME_NONNULL_END
